<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title><?php echo $pagetitle; ?></title>
        <link rel="stylesheet" href="css/padrao.css">
            <script src="js/jquery.js" type="text/javascript"></script>
            <script src="js/padrao.js" type="text/javascript"></script>
			<script src="js/jquery.maskedinput.js" type="text/javascript"></script>
			<script src="js/jquery.price_format.js" type="text/javascript"></script>
    </head>
    <body>

        <div id="divPadrao">
            <div id="divBanner"></div>
            <div id="divMenuCima">
                
                <div class="itemMenuCima" onclick="window.location='tela_cadastro.php'">Cadastar &nbsp;&nbsp;</div>
                <div class="itemMenuCima" onclick="window.location='tela_login.php'">Minha conta &nbsp;&nbsp;</div>
                <div id="divResumoLoja" class="itemMenuCima" onclick="window.location='tela_carrinho.php'"></div>
				<div class="itemMenuCima" onclick="window.location='tela_contato.php'">Contato&nbsp;&nbsp;</div>
                
            </div>
            <div id="divMeio">
                <div id="divMenu">
					<div id="itemMenu" onclick="window.location='index.php'">Home</div>
					<?php
						$menu = new Projeto_Menu();
						$listamenu = $menu->Lista();
						foreach($listamenu as $list){
							if($list){ 
					?>
								<div id="itemMenu" onclick="window.location='<?php echo "listar_produtos.php?tipo=".$list->codigo;?>'"><?php echo $list->descricao; ?></div>
					<?php }//fim if
					}//fim foreach 
					?>
                </div>
                <div id="divConteudo">
                    <?php
                    echo $pagemaincontent;
                    ?>
                </div>
                <div id="divPagamento">
                    <table align="center">
                        <tr>
                            <td>
                                Pague com:
                            </td>
                            <td>
                                <img src="img/rodape/americanex.jpg"/>
                            </td>
                            <td>
                                <img src="img/rodape/banricompras.jpg"/>
                            </td>
                            <td>
                                <img src="img/rodape/boleto.jpg"/>
                            </td>
                            <td>
                                <img src="img/rodape/hipercard.jpg"/>
                            </td>
                            <td>
                                <img src="img/rodape/itau.jpg"/>
                            </td>
                            <td>
                                <img src="img/rodape/mastercard.jpg"/>
                            </td>
                            <td>
                                <img src="img/rodape/visa.jpg"/>
                            </td>

                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>

                            <td>
                                Parceria:&nbsp;&nbsp;
                            </td>
                            <td>
                                <img src="img/rodape/sedex.jpg"/>
                            </td>
                        </tr>
                    </table>
                </div>	
            </div> <!--Fim divMeio-->
        </div>
        <div id="divRodape">
            Todos os direitos reservados.
            <br />
            Marofone Copyright © 2011. &nbsp;<a href="tela_contato.php" style="text-decoration:none">Fale conosco</a>
        </div>

    </body>
</html>